package com.lynu.mapper;

import com.lynu.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 31536
* @description 针对表【news_user】的数据库操作Mapper
* @createDate 2024-04-15 21:33:13
* @Entity com.lynu.pojo.User
*/
public interface UserMapper extends BaseMapper<User> {
    User selectByUsername(@Param(value = "username") String username);
    User selectById(@Param(value = "userId") Long userId);
    void regist(@Param("userName") String username,@Param("password") String password,@Param("nickName") String nikeName);
}




